package application.common.render;

import application.common.model.Board;
import javafx.beans.property.SimpleStringProperty;

public final class BoardProperty {

	private final SimpleStringProperty id = new SimpleStringProperty();
	private final SimpleStringProperty boardNo = new SimpleStringProperty();
	private final SimpleStringProperty boxTotal = new SimpleStringProperty();

	public BoardProperty(Board board) {
		id.set(board.getId());
		boardNo.set(board.getBoardNo()+"");
		boxTotal.set(board.getBoxTotal()+"");
	}

	public String getId() {
		return id.get();
	}

	public String getBoardNo() {
		return boardNo.get();
	}

	public void setBoardNo(String value) {
		boardNo.set(value);
	}
	
	public String getBoxTotal() {
		return boxTotal.get();
	}

	public void setBoxTotal(String value) {
		boardNo.set(value);
	}

}
